import 'package:flutter/material.dart';
class Algebra2 extends StatefulWidget {
  @override
  _Algebra2State createState() => _Algebra2State();
}

class _Algebra2State extends State<Algebra2> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      bottomNavigationBar: (BottomNavigationBar(
        currentIndex: 1,
        backgroundColor: Colors.white,
        elevation: 0,
        items: [
          BottomNavigationBarItem(            
            icon: Icon(Icons.message),
            title: Text('Stream',style: TextStyle(fontSize: 15,fontWeight: FontWeight.w500),)
          ),
           BottomNavigationBarItem(            
            icon: Icon(Icons.assignment),
            title: Text('Classwork',style: TextStyle(fontSize: 15,fontWeight: FontWeight.w500))
          ),
           BottomNavigationBarItem(            
            icon: Icon(Icons.people),
            title: Text('People',style: TextStyle(fontSize: 15,fontWeight: FontWeight.w500))
          ),
        ],
      )),
      appBar: AppBar(
        elevation: 0.5,
        backgroundColor: Colors.white,
        leading: IconButton(icon:Icon(Icons.menu,color: Colors.black,size: 26,),onPressed: null,),
        title: Text('Algebra 2',style: TextStyle(color:Color.fromARGB(255, 21, 97, 207),fontSize: 22,fontWeight: FontWeight.w500),),
        actions: <Widget>[
          IconButton(icon: Icon(Icons.assignment_ind,size:26,color:Color.fromARGB(255, 98, 99, 100)),onPressed: null,),
          IconButton(icon: Icon(Icons.more_vert,size:26,color:Color.fromARGB(255, 98, 99, 100)), onPressed: null),
        ],
      ),
      body: Card(elevation: 0,child:Column(children: <Widget>[
        Expanded(          
          child: ListView(
            children: <Widget>[    
              SizedBox(height: 15,),          
              Card(//上边的两个
                elevation: 0,
                child: ListTile(
                leading:
                Container(
                  margin: EdgeInsets.fromLTRB(0, 0, 0, 0),
                  decoration: BoxDecoration(borderRadius: BorderRadius.circular(150),color: Color.fromARGB(255, 66, 134, 252)),
                  child:Icon(Icons.assignment,size:30,color:Colors.white,),
                  //color:Colors.black,
                  height: 50,
                  width: 50,
                ),                
                title: Text('Watch the Introduction to Algebra and do question',maxLines: 1,overflow: TextOverflow.ellipsis,style: TextStyle(fontSize: 17,fontWeight: FontWeight.w600),),
                subtitle: Text('Due Dec 16,2014,11:59 PM'),),
                margin: EdgeInsets.fromLTRB(0, 0, 0, 10),
              ),
              Card(//上边的两个
                elevation: 0,
                child: ListTile(
                leading:Container(
                  margin: EdgeInsets.fromLTRB(0, 0, 0, 0),
                  decoration: BoxDecoration(borderRadius: BorderRadius.circular(150),color: Color.fromARGB(255, 66, 134, 252)),
                  child:Icon(Icons.assignment,size:30,color:Colors.white,),
                  //color:Colors.black,
                  height: 50,
                  width: 50,
                ),
                title: Text('Watch the Introduction to Algebra and do question',maxLines: 1,overflow: TextOverflow.ellipsis,style: TextStyle(fontSize: 17,fontWeight: FontWeight.w600),),
                subtitle: Text('Due Dec 16,2014,11:59 PM'),),
                margin: EdgeInsets.fromLTRB(0, 0, 0, 10),
              ),
              Card(//大块
                elevation: 0,
                child: Column(children: <Widget>[
                  ListTile(title: Text('Graphing',style: TextStyle(fontSize: 32,fontWeight: FontWeight.w400,color:Color.fromARGB(255, 21, 97, 207) ),),),
                  Divider(color: Color.fromARGB(255, 21, 97, 207),height: 20,thickness: 0.8,indent: 16,endIndent: 16,),
                  Card(
                    elevation: 0,
                    child: ListTile(
                    leading:Container(
                  margin: EdgeInsets.fromLTRB(0, 0, 0, 0),
                  decoration: BoxDecoration(borderRadius: BorderRadius.circular(150),color: Color.fromARGB(255, 66, 134, 252)),
                  child:Icon(Icons.assignment,size:30,color:Colors.white,),
                  //color:Colors.black,
                  height: 50,
                  width: 50,
                ),
                    title: Text('Watch the Introduction to Algebra and do question',maxLines: 1,overflow: TextOverflow.ellipsis,style: TextStyle(fontSize: 17,fontWeight: FontWeight.w600),),
                    subtitle: Text('Due Dec 16,2014,11:59 PM'),),
                    margin: EdgeInsets.fromLTRB(0, 0, 0, 10),
              ),
                 Card(
                    elevation: 0,
                    child: ListTile(
                    leading:Container(
                  margin: EdgeInsets.fromLTRB(0, 0, 0, 0),
                  decoration: BoxDecoration(borderRadius: BorderRadius.circular(150),color: Color.fromARGB(255, 66, 134, 252)),
                  child:Icon(Icons.assignment,size:30,color:Colors.white,),
                  //color:Colors.black,
                  height: 50,
                  width: 50,
                ),
                    title: Text('Watch the Introduction to Algebra and do question',maxLines: 1,overflow: TextOverflow.ellipsis,style: TextStyle(fontSize: 17,fontWeight: FontWeight.w600),),
                    subtitle: Text('Due Dec 16,2014,11:59 PM'),),
                    margin: EdgeInsets.fromLTRB(0, 0, 0, 10),
              ),
                  
                ],)
              ),
              Card(//大块
                elevation: 0,
                child: Column(children: <Widget>[
                  ListTile(title: Text('Videos',style: TextStyle(fontSize: 32,fontWeight: FontWeight.w400,color:Color.fromARGB(255, 21, 97, 207) ),),),
                  Divider(color: Color.fromARGB(255, 21, 97, 207),height: 20,thickness: 0.8,indent: 16,endIndent: 16,),
                  Card(
                    elevation: 0,
                    child: ListTile(
                    leading:Container(
                  margin: EdgeInsets.fromLTRB(0, 0, 0, 0),
                  decoration: BoxDecoration(borderRadius: BorderRadius.circular(150),color: Color.fromARGB(255, 66, 134, 252)),
                  child:Icon(Icons.assignment,size:30,color:Colors.white,),
                  //color:Colors.black,
                  height: 50,
                  width: 50,
                ),
                    title: Text('Watch the Introduction to Algebra and do question',maxLines: 1,overflow: TextOverflow.ellipsis,style: TextStyle(fontSize: 17,fontWeight: FontWeight.w600),),
                    subtitle: Text('Due Dec 16,2014,11:59 PM'),),
                    margin: EdgeInsets.fromLTRB(0, 0, 0, 10),
              ),
                  Card(
                    elevation: 0,
                    child: ListTile(
                    leading:Container(
                  margin: EdgeInsets.fromLTRB(0, 0, 0, 0),
                  decoration: BoxDecoration(borderRadius: BorderRadius.circular(150),color: Color.fromARGB(255, 66, 134, 252)),
                  child:Icon(Icons.assignment,size:30,color:Colors.white,),
                  //color:Colors.black,
                  height: 50,
                  width: 50,
                ),
                    title: Text('Watch the Introduction to Algebra and do question',maxLines: 1,overflow: TextOverflow.ellipsis,style: TextStyle(fontSize: 17,fontWeight: FontWeight.w600),),
                    subtitle: Text('Due Dec 16,2014,11:59 PM'),),
                    margin: EdgeInsets.fromLTRB(0, 0, 0, 10),     
              ),
                  Card(
                    elevation: 0,
                    child: ListTile(
                    leading:Container(
                  margin: EdgeInsets.fromLTRB(0, 0, 0, 0),
                  decoration: BoxDecoration(borderRadius: BorderRadius.circular(150),color: Color.fromARGB(255, 66, 134, 252)),
                  child:Icon(Icons.assignment,size:30,color:Colors.white,),
                  //color:Colors.black,
                  height: 50,
                  width: 50,
                ),
                    title: Text('Watch the Introduction to Algebra and do question',maxLines: 1,overflow: TextOverflow.ellipsis,style: TextStyle(fontSize: 17,fontWeight: FontWeight.w600),),
                    subtitle: Text('Due Dec 16,2014,11:59 PM'),),
                    margin: EdgeInsets.fromLTRB(0, 0, 0, 10),     
              ),
                  
                ],)
              ),
              
          ],
        )
        
        )
      ],), )
    );
  }
}

